package com.hqully.labmanage.domain.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * [DeviceType]实体类
 *
 * @author hqully
 * @date 2022-10-13 19:11:01
 */
@ApiModel(description = "设备类型表")
@Data
public class DeviceType implements Serializable {

    private static final long serialVersionUID = 106822458527740491L;

    /**
     * 物理id
     */
    @ApiModelProperty("物理id")
    @NotNull(message = "物理id不能为空")
    private Long id;

    /**
     * 设备类型id
     */
    @ApiModelProperty("设备类型id")
    private String typeId;

    /**
     * 设备类型名称
     */
    @ApiModelProperty("设备类型名称")
    private String name;


}

